//package io.github.iogogogo.commons.configuration;
//
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.boot.info.GitProperties;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//import java.io.IOException;
//import java.io.InputStream;
//import java.util.Properties;
//
///**
// * Created by tao.zeng on 2024/11/7.
// */
//@Slf4j
//@Configuration
//public class GitConfiguration {
//
//    @Bean
//    public GitProperties gitProperties() {
//        Properties props = new Properties();
//        try (InputStream inputStream = GitConfiguration.class.getClassLoader().getResourceAsStream("git.properties");) {
//            props.load(inputStream);
//        } catch (IOException e) {
//            log.error(e.getMessage(), e);
//        }
//        return new GitProperties(props);
//    }
//}
